package Database;

import java.util.ArrayList;

import Model.Product;
	
	public interface IFDBProduct {
	    // get all products
	    public ArrayList<Product> getAllProducts(boolean retriveAssociation);
	    //get one product by finding the product name
	    public String findProduct(String name, boolean retriveAssociation);
	    //find one product by searching the ID
	    public String searchProductName(String name, boolean retriveAssociation);
	    
	    
	    //insert a new product
	    public int insertProduct(Product product) throws Exception;
	    //update information about a product
	    public int updateProduct(Product product);
	    //search product by ID
		public Product searchProductID1(int productID, boolean b);
	    

}
